What happens when you view the document library using the Open with Explorer functionality? Do you see the files there?
You need to make sure you file's type attribute is set to GhostableInLibrary
Ref: http://msdn.microsoft.com/en-us/library/ms441170.aspx
This article provides a good walk-through for deploying branding solutions even if you do not use Sandbox solutions.