Improve loading through VFS. Fixes bug where entire buffer was copied into data vector instead of just bytes read