Add a `precompile` option without directory support

All credit should go to @bjoerge for the original code in #33 

I decided to remove directory support for the precompile option as I'm still not happy with how that works.  At least with this it can still work fine providing you use it on individual files.