filesystem: Change size adaptively if written
Improved lwa and swa instructions