fake in-memory filesystem resize function