Fixed bug in region loader that incorrectly tries to pad out non-multiple-of-4KB files.