I've tested it with this code and it works properly:
B4X:
Sub Activity_Create(FirstTime As Boolean)
File.MakeDir(File.DirRootExternal,"App1/.emo")
File.WriteString(File.DirRootExternal,"App1/.emo/.nomedia","ttt")
Log(File.ReadString(File.DirRootExternal, "App1/.emo/.nomedia"))
End Sub