Kernel module for on-the-fly file conversion